const glob = require('glob');

// let result = null;
// console.time()
// result = glob.sync(__dirname + '/**/*')   //同步
// console.timeEnd()
// console.log(result)
console.time()
glob(__dirname + '/**/*', (err, res) => {
  // console.log(res)
  console.log('success')
})
console.timeEnd()
console.log(1 + 1 + 1)